/*
 * Created on Apr 17, 2004
 *
 */
package org.vectrics.recruiter.user;


import java.util.Collection;
import java.util.Date;
import java.util.HashSet;

import org.vectrics.common.db.Criteria;
import org.vectrics.company.Company;
import org.vectrics.recruiter.job.Job;
import org.vectrics.user.Person;

/**
 * @author mmoore
 */
public class InterviewCriteria extends Criteria {
	
	private Person person = null;
	private Job job = null;
	private Collection statusCodes = new HashSet();
	private Company company = null;
	private Date startDate = null;
	private Date endDate = null;

	
	/**
	 * Cosntructor 
	 */
	public InterviewCriteria() {
		super();
	}
	

	/**
	 * @return Returns the person.
	 */
	public Person getInterviewer() {
		return person;
	}
	/**
	 * @param person The person to set.
	 */
	public void setInterviewer(Person person) {
		this.person = person;
	}
	
	
	/**
	 * @return Returns the job.
	 */
	public Job getJob() {
		return job;
	}
	/**
	 * @param job The job to set.
	 */
	public void setJob(Job job) {
		this.job = job;
	}
	
	public void addStatusCode(String statusCode) {
		statusCodes.add(statusCode);
	}
	
	/**
	 * @return Returns the statusCodes.
	 */
	public Collection getStatusCodes() {
		return statusCodes;
	}
	/**
	 * @param statusCodes The statusCodes to set.
	 */
	public void setStatusCodes(Collection statusCodes) {
		this.statusCodes = statusCodes;
	}
	
	/**
	 * @return Returns the company.
	 */
	public Company getCompany() {
		return company;
	}
	/**
	 * @param company The company to set.
	 */
	public void setCompany(Company company) {
		this.company = company;
	}
	/**
	 * @return Returns the endDate.
	 */
	public Date getEndDate() {
		return endDate;
	}
	/**
	 * @param endDate The endDate to set.
	 */
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	/**
	 * @return Returns the person.
	 */
	public Person getPerson() {
		return person;
	}
	/**
	 * @param person The person to set.
	 */
	public void setPerson(Person person) {
		this.person = person;
	}
	/**
	 * @return Returns the startDate.
	 */
	public Date getStartDate() {
		return startDate;
	}
	/**
	 * @param startDate The startDate to set.
	 */
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
}
